<template>
    <iframe class="myiframe" :src="url"> </iframe>
</template>
<script setup>
import { useRoute } from 'vue-router'
// 获取路由参数
const route = useRoute()
const { meta } = route
const url = meta.href
</script>

<style lang="scss" scoped>
.myiframe {
    width: calc(100vw - 200px);
    height: calc(100vh - 110px);
    // 移除边框
    border: none;
    position: relative;
}
</style>
